package com.brycen.bio.file;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * 服务端：文件传输
 */
public class Server {
    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket = new ServerSocket(9999);
        while (true){
            Socket socket = serverSocket.accept();
            new ClientThread(socket).start();
        }
    }
}
